package jk.framework.canary.core.rule;

import java.util.List;

/**
 * @author cuichao
 * 静态rule-chain
 */
public class StaticInitRuleChain<T> extends AbstractRuleChain<T>{


    private final List<RouteRule<T>> routeRules ;

    public StaticInitRuleChain(List<RouteRule<T>> routeRules) {
        this.routeRules = routeRules;
    }

    @Override
    protected List<RouteRule<T>> initRuleChain() {
        return routeRules;
    }


}
